#define _CRT_SECURE_NO_WARNINGS 1
#include"Heap.h"
int main()
 {
	/*Heap hp;
	InitHp(&hp);
	PushHp(&hp, 2);
	PushHp(&hp, 5);
	PushHp(&hp, 9);
	PushHp(&hp, 4);
	PushHp(&hp, 20);
	PushHp(&hp, 52);
	PushHp(&hp, 91);
	PushHp(&hp, 42);
	PushHp(&hp, 1);
	PushHp(&hp, 11);*/
	HpDataType a[12] = { 1,2,3,44,45,4,5,54,8,6,5,231 };
	Heapsort(a, 12);
	for (int i = 0;i <= 11;i++)
	{
		printf("%d\n", a[i]);
	}
}